import request from '@/utils/request.js'
export function getarticle(datas) {
  return request({
    url: 'index/article/article',
    method: 'post',
    data: datas
  })
}
export function addarticle(datas) {
  return request({
    url: 'index/article/addArticle',
    method: 'post',
    data: datas
  })
}
export function deletearticle(datas) {
  return request({
    url: 'index/article/delete',
    method: 'post',
    data: datas
  })
}
export function updatearticle(datas) {
  return request({
    url: 'index/article/update',
    method: 'post',
    data: datas
  })
}
export function getarticleclass(datas) {
  return request({
    url: 'index/article/getAcClass',
    method: 'post',
    data: datas
  })
}
export function getnum(datas) {
  return request({
    url: 'index/article/num',
    method: 'post',
    data: datas
  })
}
